function generateRandomPassword(length: number = 9): string {
  const characters = [
    '0123456789',
    '()`!@#$%^&*-+=|{}[]:;\'<>,.?',
    'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    'abcdefghijklmnopqrstuvwxyz',
  ].join('')
  return Array.from(
    { length },
    () => characters[Math.floor(Math.random() * characters.length)],
  ).join('')
}
export const defaultPassword = () => generateRandomPassword(9)
